home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: Locrian:WWDCSun:C:LinkSrc.h.
- * Generated using:
- * SOM Precompiler somipc: somc/smemit.c
- * SOM Emitter emith.dll: somc/smmain.c
- */
-
- /*
- *
- * Theory of Operation
- *
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODLinkSource_h
- #define SOM_ODLinkSource_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODLinkSource
- #define ODLinkSource SOMObject
- #endif
- #include <LinkSrcB.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODStorageUnit
- #define ODStorageUnit SOMObject
- #endif /* ODStorageUnit */
- #ifndef ODLink
- #define ODLink SOMObject
- #endif /* ODLink */
- #ifndef ODPart
- #define ODPart SOMObject
- #endif /* ODPart */
- #ifndef ODPartList
- #define ODPartList SOMObject
- #endif /* ODPartList */
- #ifndef ODDraft
- #define ODDraft SOMObject
- #endif /* ODDraft */
-
- /*
- * End of user-defined types.
- */
-
- #define ODLinkSource_MajorVersion 1
- #define ODLinkSource_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODLinkSourceNewClass c
- #define ODLinkSourceClassData d
- #define ODLinkSourceCClassData x
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define ODLinkSource_classObj ODLinkSourceClassData.classObject
- #define _ODLinkSource ODLinkSource_classObj
-
- /*
- * Declare the class creation procedure
- */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export on
- #endif
-
- SOMEXTERN SOMClass * SOMLINK ODLinkSourceNewClass(integer4 somtmajorVersion,
- integer4 somtminorVersion);
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODLinkSourceClassDataStructure {
- SOMAny *classObject;
- somMToken reserved1;
- somMToken reserved2;
- somMToken reserved3;
- somMToken reserved4;
- somMToken reserved5;
- somMToken reserved6;
- somMToken reserved7;
- }
- #ifdef SOM_NO_DATA_EXPORTS
- * ODLinkSourceGetClassData ( void );
- # undef ODLinkSourceClassData
- # define ODLinkSourceClassData (*ODLinkSourceGetClassData())
- #else
- ODLinkSourceClassData;
- #endif /* SOM_NO_DATA_EXPORTS */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export off
- #endif
-
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct ODLinkSourceCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } ODLinkSourceCClassData;
-
- /*
- * New and Renew macros for ODLinkSource
- */
- #define ODLinkSourceNew() \
- ( ( ! (ODLinkSourceClassData.classObject) && \
- (ODLinkSourceNewClass(ODLinkSource_MajorVersion, ODLinkSource_MinorVersion)) ), \
- (_somNew(ODLinkSourceClassData.classObject)) )
- #define ODLinkSourceRenew(buf) \
- ( _somRenew(ODLinkSourceClassData.classObject, buf) )
-
- /*
- * Override method: somInit
- */
- #define ODLinkSource_somInit(somSelf) \
- SOMObject_somInit(somSelf)
-
- /*
- * Override method: somUninit
- */
- #define ODLinkSource_somUninit(somSelf) \
- SOMObject_somUninit(somSelf)
-
- /*
- * Override method: Purge
- */
- #define ODLinkSource_Purge(somSelf,ev,size) \
- ODObject_Purge(somSelf,ev,size)
-
- /*
- * Override method: Externalize
- */
- #define ODLinkSource_Externalize(somSelf,ev) \
- ODPersistentObject_Externalize(somSelf,ev)
-
- /*
- * Override method: ReleaseAll
- */
- #define ODLinkSource_ReleaseAll(somSelf,ev) \
- ODPersistentObject_ReleaseAll(somSelf,ev)
-
- /*
- * Override method: Lock
- */
- #define ODLinkSource_Lock(somSelf,ev,wait,key) \
- ODBaseLinkSource_Lock(somSelf,ev,wait,key)
-
- /*
- * Override method: Unlock
- */
- #define ODLinkSource_Unlock(somSelf,ev,key) \
- ODBaseLinkSource_Unlock(somSelf,ev,key)
-
- /*
- * Override method: GetContentStorageUnit
- */
- #define ODLinkSource_GetContentStorageUnit(somSelf,ev,key) \
- ODBaseLinkSource_GetContentStorageUnit(somSelf,ev,key)
-
- /*
- * Override method: ContentChanged
- */
- #define ODLinkSource_ContentChanged(somSelf,ev,id) \
- ODBaseLinkSource_ContentChanged(somSelf,ev,id)
-
- /*
- * Override method: Clear
- */
- #define ODLinkSource_Clear(somSelf,ev,id,key) \
- ODBaseLinkSource_Clear(somSelf,ev,id,key)
-
- /*
- * Override method: GetChangeID
- */
- #define ODLinkSource_GetChangeID(somSelf,ev) \
- ODBaseLinkSource_GetChangeID(somSelf,ev)
-
- /*
- * Override method: SetAutoUpdate
- */
- #define ODLinkSource_SetAutoUpdate(somSelf,ev,automatic) \
- ODBaseLinkSource_SetAutoUpdate(somSelf,ev,automatic)
-
- /*
- * Override method: IsAutoUpdate
- */
- #define ODLinkSource_IsAutoUpdate(somSelf,ev) \
- ODBaseLinkSource_IsAutoUpdate(somSelf,ev)
-
- /*
- * Override method: GetLink
- */
- #define ODLinkSource_GetLink(somSelf,ev) \
- ODBaseLinkSource_GetLink(somSelf,ev)
-
- /*
- * Override method: SetSourcePart
- */
- #define ODLinkSource_SetSourcePart(somSelf,ev,sourcePartSU) \
- ODBaseLinkSource_SetSourcePart(somSelf,ev,sourcePartSU)
-
- /*
- * Override method: ShowSourceContent
- */
- #define ODLinkSource_ShowSourceContent(somSelf,ev) \
- ODBaseLinkSource_ShowSourceContent(somSelf,ev)
-
- /*
- * Override method: GetChangeTime
- */
- #define ODLinkSource_GetChangeTime(somSelf,ev) \
- ODBaseLinkSource_GetChangeTime(somSelf,ev)
-
- /*
- * Override method: CloneTo
- */
- #define ODLinkSource_CloneTo(somSelf,ev,draftKey,destDraft,newSourcePartSU) \
- ODBaseLinkSource_CloneTo(somSelf,ev,draftKey,destDraft,newSourcePartSU)
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODLinkSource_InitPersistentObject ODPersistentObject_InitPersistentObject
- #define ODLinkSource_InitPersistentObjectFromStorage ODPersistentObject_InitPersistentObjectFromStorage
- #define ODLinkSource_GetStorageUnit ODPersistentObject_GetStorageUnit
- #define ODLinkSource_GetID ODPersistentObject_GetID
- #define ODLinkSource_InitRefCntObject ODRefCntObject_InitRefCntObject
- #define ODLinkSource_IncrementRefCount ODRefCntObject_IncrementRefCount
- #define ODLinkSource_Release ODRefCntObject_Release
- #define ODLinkSource_GetRefCount ODRefCntObject_GetRefCount
- #define ODLinkSource_InitObject ODObject_InitObject
- #define ODLinkSource_IsInitialized ODObject_IsInitialized
- #define ODLinkSource_HasExtension ODObject_HasExtension
- #define ODLinkSource_GetExtension ODObject_GetExtension
- #define ODLinkSource_ReleaseExtension ODObject_ReleaseExtension
- #define ODLinkSource_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODLinkSource_somFree SOMObject_somFree
- #define ODLinkSource_somGetClass SOMObject_somGetClass
- #define ODLinkSource_somGetClassName SOMObject_somGetClassName
- #define ODLinkSource_somGetSize SOMObject_somGetSize
- #define ODLinkSource_somIsA SOMObject_somIsA
- #define ODLinkSource_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODLinkSource_somRespondsTo SOMObject_somRespondsTo
- #define ODLinkSource_somDispatchV SOMObject_somDispatchV
- #define ODLinkSource_somDispatchL SOMObject_somDispatchL
- #define ODLinkSource_somDispatchA SOMObject_somDispatchA
- #define ODLinkSource_somDispatchD SOMObject_somDispatchD
- #define ODLinkSource_somDispatch SOMObject_somDispatch
- #define ODLinkSource_somClassDispatch SOMObject_somClassDispatch
- #define ODLinkSource_somPrintSelf SOMObject_somPrintSelf
- #define ODLinkSource_somDumpSelf SOMObject_somDumpSelf
- #define ODLinkSource_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODLinkSource_h */
-